
Pod::Spec.new do |s|

  s.name          = "TTVNetwork"
  s.version       = "0.0.3"
  s.summary       = ""

  s.homepage      = "https://gitee.com/iTouchTV/TTVNetwork"
  s.license       = "MIT"
  s.author        = { "RayChow" => "zhouqirui@itouchtv.cn" }
  s.source        = { :git => "https://gitee.com/iTouchTV/TTVNetwork.git", :tag => "#{s.version}" }
  s.exclude_files = "TTVNetwork/TTVNetwork/AppDelegate/*.{h,m}","TTVNetwork/TTVNetwork/AppDelegate/AppDelegate.{h,m}", "Code/TTVNetwork/AppDelegate/main.m"
  #s.source_files  = "TTVNetwork/*.{h,m}",
  s.frameworks    = 'UIKit'
  # s.frameworks = ["UIKit", "Foundation", "MediaPlayer", "CoreAudio", "AudioToolbox", "Accelerate", "QuartzCore", "OpenGLES", "AVFoundation","CoreVideo","AVKit","CoreMedia","VideoToolbox","CoreTelephony"]
  # s.libraries = "c++", "z", "bz2", "iconv", "resolv"
  s.platform      = :ios, '8.0'
  s.requires_arc = true
	s.dependency 'Masonry', '~> 1.0.1'
	s.dependency 'MJExtension', '~> 3.0.10'
	s.dependency 'AFNetworking', '3.1.0'
	#s.dependency 'SDWebImage', '~> 3.8.2'
	
	
 #s.subspec 'Common' do |ss|
 #  ss.ios.deployment_target = '8.0'
 #  ss.source_files = 'TTVNetwork/TTVNetwork/Classes/Common/*.{h,m}'
 #  
 #  # ss.public_header_files = 'AFNetworking/AFNetworkReachabilityManager.h'
 #	# ss.source_files  = "TTVNetwork/TTVNetwork/Classes/**/*.{h,m}",
 #  # ss.frameworks = 'SystemConfiguration'
 #end
  
  s.subspec 'Features' do |ss|
    ss.ios.deployment_target = '8.0'
    ss.source_files = 'TTVNetwork/TTVNetwork/Classes/Features/*.{h,m}'
  end

 #s.subspec 'ThirdParty' do |ss|
 #  ss.ios.deployment_target = '8.0'
 #  ss.source_files = 'TTVNetwork/TTVNetwork/Classes/ThirdParty/*.{h,m}'
 #end
 
 #s.subspec 'Utils' do |ss|
 #  ss.ios.deployment_target = '8.0'
 #  ss.source_files = 'TTVNetwork/TTVNetwork/Classes/Utils/*.{h,m}'
 #end
end
